const _import = require('./_import_' + process.env.NODE_ENV)
import Layout from '../views/layout/Layout'
export default [{
  path: '',
  component: Layout,
  redirect: '/dashboard',
  children: [{
    path: 'dashboard',
    component: _import('dashboard/index'),
    name: 'dashboard',
    meta: {
      title: '首页',
      noCache: true
    }
  }]
},
{
  path: '/sysRole',
  component: Layout,
  redirect: '/sysRole/index',
  children: [{
    path: 'index',
    component: _import('sysRole/index'),
    name: 'sysRole',
    meta: {
      title: '角色管理'
    }
  }]
},
{
  path: '/sysSite',
  component: Layout,
  redirect: '/sysSite/index',
  children: [{
    path: 'index',
    component: _import('sysSite/index'),
    name: 'sysSite',
    meta: {
      title: '站点管理'
    }
  }]
},
{
  path: '/sysFunc',
  component: Layout,
  redirect: '/sysFunc/index',
  children: [{
    path: 'index',
    component: _import('sysFunc/index'),
    name: 'sysFunc',
    meta: {
      title: '功能管理'
    }
  }]
},
{
  path: '/sysFuncLib',
  component: Layout,
  redirect: '/sysFuncLib/index',
  children: [{
    path: 'index',
    component: _import('sysFuncLib/index'),
    name: 'sysFuncLib',
    meta: {
      title: '功能库管理'
    }
  }]
},
{
  path: '/sysUser',
  component: Layout,
  redirect: '/sysUser/index',
  children: [{
    path: 'index',
    component: _import('sysUser/index'),
    name: 'sysUser',
    meta: {
      title: '用户管理'
    }
  }]
},
{
  path: '/sysArt',
  component: Layout,
  redirect: '/sysArt/index',
  children: [
    {
      path: 'index',
      component: _import('sysArt/index'),
      name: 'sysArt',
      meta: {
        title: '文章管理'
      }
    },
    {
      path: 'recycled',
      component: _import('sysArt/recycled'),
      name: 'sysArtRecycled',
      meta: {
        title: '文章回收站'
      }
    },
    {
      path: 'excelIn',
      component: _import('sysArt/excelIn'),
      name: 'sysArtExcelIn',
      meta: {
        title: '文章导入'
      }
    }
  ]
},
{
  path: '/sysCate',
  component: Layout,
  redirect: '/sysCate/index',
  children: [{
    path: 'index',
    component: _import('sysCate/index'),
    name: 'sysCate',
    meta: {
      title: '分类管理'
    }
  }]
},
{
  path: '/sysProductTj',
  component: Layout,
  redirect: '/sysProductTj/index',
  children: [{
    path: 'index',
    component: _import('sysProductTj/index'),
    name: 'sysProductTj',
    meta: {
      title: '推荐产品'
    }
  }]
},
{
  path: '/sysTask',
  component: Layout,
  redirect: '/sysTask/index',
  children: [{
    path: 'index',
    component: _import('sysTask/index'),
    name: 'sysTask',
    meta: {
      title: '任务管理'
    }
  }]
},
{
  path: '/sysTaskLook',
  component: Layout,
  redirect: '/sysTaskLook/index',
  children: [{
    path: 'index',
    component: _import('sysTaskLook/index'),
    name: 'sysTaskLook',
    meta: {
      title: '任务执行状态'
    }
  }]
},
{
  path: '/sysUserFeedback',
  component: Layout,
  redirect: '/sysUserFeedback/index',
  children: [{
    path: 'index',
    component: _import('sysUserFeedback/index'),
    name: 'sysUserFeedback',
    meta: {
      title: '用户反馈'
    }
  }]
},
{
  path: '/sysTplLook',
  component: Layout,
  redirect: '/sysTplLook/index',
  children: [{
    path: 'index',
    component: _import('sysTplLook/index'),
    name: 'sysTplLook',
    meta: {
      title: '模板可视化'
    }
  }]
},
{
  path: '/sysTpl',
  component: Layout,
  redirect: '/sysTpl/index',
  children: [{
    path: 'index',
    component: _import('sysTpl/index'),
    name: 'sysTpl',
    meta: {
      title: '模板管理'
    }
  }]
},
{
  path: '/sysFile',
  component: Layout,
  redirect: '/sysFile/index',
  children: [{
    path: 'index',
    component: _import('sysTpl/file'),
    name: 'sysFile',
    meta: {
      title: '资源文件'
    }
  }]
},
{
  path: '/sysTplLabel',
  component: Layout,
  redirect: '/sysTplLabel/index',
  children: [{
    path: 'index',
    component: _import('sysTplLabel/index'),
    name: 'sysTplLabel',
    meta: {
      title: '模板标签'
    }
  }]
},
{
  path: '/sysUrlsRule',
  component: Layout,
  redirect: '/sysUrlsRule/index',
  children: [{
    path: 'index',
    component: _import('sysUrlsRule/index'),
    name: 'sysUrlsRule',
    meta: {
      title: '静态规则'
    }
  }]
},
{
  path: '/sysUrlLook',
  component: Layout,
  redirect: '/sysUrlLook/index',
  children: [{
    path: 'index',
    component: _import('sysUrlLook/index'),
    name: 'sysUrlLook',
    meta: {
      title: '查看静态网址'
    }
  }]
},
{
  path: '/sysUrlRule',
  component: Layout,
  redirect: '/sysUrlRule/index',
  children: [{
    path: 'index',
    component: _import('sysUrlRule/index'),
    name: 'sysUrlRule',
    meta: {
      title: '静态网址规则'
    }
  }]
},
{
  path: '/sysTags',
  component: Layout,
  redirect: '/sysTags/index',
  children: [{
    path: 'index',
    component: _import('sysTags/index'),
    name: 'sysTags',
    meta: {
      title: '标签管理'
    }
  }]
},
{
  path: '/sysTagsCate',
  component: Layout,
  redirect: '/sysTagsCate/index',
  children: [{
    path: 'index',
    component: _import('sysTagsCate/index'),
    name: 'sysTagsCate',
    meta: {
      title: '标签分类'
    }
  }]
},
{
  path: '/sysNotice',
  component: Layout,
  redirect: '/sysNotice/index',
  children: [{
    path: 'index',
    component: _import('sysNotice/index'),
    name: 'sysNotice',
    meta: {
      title: '公告管理'
    }
  }]
},
{
  path: '/sysLink',
  component: Layout,
  redirect: '/sysLink/index',
  children: [{
    path: 'index',
    component: _import('sysLink/index'),
    name: 'sysLink',
    meta: {
      title: '友情链接管理'
    }
  }]
},
{
  path: '/sysCompany',
  component: Layout,
  redirect: '/sysCompany/index',
  children: [{
    path: 'index',
    component: _import('sysCompany/index'),
    name: 'sysCompany',
    meta: {
      title: '期权公司管理'
    }
  }]
},
{
  path: '/sysNav',
  component: Layout,
  redirect: '/sysNav/index',
  children: [{
    path: 'index',
    component: _import('sysNav/index'),
    name: 'sysNav',
    meta: {
      title: '友情链接管理'
    }
  }]
},
{
  path: '/sysChannel',
  component: Layout,
  redirect: '/sysChannel/index',
  children: [{
    path: 'index',
    component: _import('sysChannel/index'),
    name: 'sysChannel',
    meta: {
      title: '频道管理'
    }
  }]
},
{
  path: '/sysPage',
  component: Layout,
  redirect: '/sysPage/index',
  children: [{
    path: 'index',
    component: _import('sysPage/index'),
    name: 'sysPage',
    meta: {
      title: '单页管理'
    }
  }]
},
{
  path: '/sysSiteSet',
  component: Layout,
  redirect: '/sysSiteSet/index',
  children: [{
    path: 'index',
    component: _import('sysSiteSet/index'),
    name: 'sysSiteSet',
    meta: {
      title: '站点设置'
    }
  }]
},
{
  path: '/weChat',
  component: Layout,
  redirect: '/weChat/index',
  children: [{
    path: 'index',
    component: _import('weChat/index'),
    name: 'weChat',
    meta: {
      title: '小程序列表'
    }
  }]
},
{
  path: '/weArtCate',
  component: Layout,
  redirect: '/weArtCate/index',
  children: [{
    path: 'index',
    component: _import('weArtCate/index'),
    name: 'weArtCate',
    meta: {
      title: '文章库分类管理'
    }
  }]
},
{
  path: '/weArtLib',
  component: Layout,
  redirect: '/weArtLib/index',
  children: [{
    path: 'index',
    component: _import('weArtLib/index'),
    name: 'weArtLib',
    meta: {
      title: '文章库文章管理'
    }
  }, {
    path: 'recycled',
    component: _import('weArtLib/recycled'),
    name: 'weArtLibRecycled',
    meta: {
      title: '回收站'
    }
  }]
},
{
  path: '/weOwnUser',
  component: Layout,
  redirect: '/weOwnUser/index',
  children: [{
    path: 'index',
    component: _import('weOwnUser/index'),
    name: 'weOwnUser',
    meta: {
      title: '自媒体用户'
    }
  }]
},
{
  path: '/weOwnChat',
  component: Layout,
  redirect: '/weOwnChat/index',
  children: [{
    path: 'index',
    component: _import('weOwnChat/index'),
    name: 'weOwnChat',
    meta: {
      title: '自媒体小程序'
    }
  }]
},
{
  path: '/weArtPush',
  component: Layout,
  redirect: '/weArtPush/index',
  children: [{
    path: 'index',
    component: _import('weArtPush/index'),
    name: 'weArtPush',
    meta: {
      title: '文章推送'
    }
  }, {
    path: 'select',
    component: _import('weArtPush/select'),
    name: 'weArtPushSelect',
    meta: {
      title: '选择文章库'
    }
  }]
},
{
  path: '/weClient',
  component: Layout,
  redirect: '/weClient/index',
  children: [{
    path: 'index',
    component: _import('weClient/index'),
    name: 'weClient',
    meta: {
      title: '客户列表'
    }
  }]
},
{
  path: '/weClientLog',
  component: Layout,
  redirect: '/weClientLog/index',
  children: [{
    path: 'index',
    component: _import('weClient/log'),
    name: 'weClientLog',
    meta: {
      title: '用户日志'
    }
  }]
},
{
  path: '/theme',
  component: Layout,
  redirect: 'noredirect',
  children: [{
    path: 'index',
    component: _import('theme/index'),
    name: 'theme',
    meta: {
      title: '风格',
      icon: 'theme'
    }
  }]
}
]
